.moomoo_form {
  padding: 12px;
  font-family: Roboto-Regular, Roboto;

  &>div:not(:last-child) {
    margin-bottom: 12px;
  }

  p {
    font-family: Roboto-Regular, Roboto;
    font-weight: 400;
    color: #878999;
    margin-bottom: 8px;
    font-size: 14px;
  }

  // 输入框
  &_input {
    position: relative;

    .input {
      height: 48px;
      border-radius: 4px;
      line-height: 25px;

      /deep/input {
        font-family: Roboto-Regular, Roboto;
      }
    }

    .van-icon {
      position: absolute;
      right: 0;
      top: 24px;
      padding: 12px;
      font-size: 24px;
      color: #ABACB7;
    }

    .desc {
      margin-top: 8px;
      text-align: right;

      span {
        &:first-child {
          color: #878999;
        }

        &:nth-child(2) {

          color: #1A1A1A;
        }
      }
    }
  }

  &_code {
    display: flex;

    .van-cell {
      margin-right: 8px;
      flex: 1;
    }

    .van-image {
      width: 128px;
      height: 48px;
    }
  }

  &_upload {
    .upload {
      width: 109px;
      height: 109px;
      background-color: transparent;
      padding: 0;
      border-radius: 4px;
      overflow: hidden;

      /deep/.van-uploader__wrapper,
      /deep/.van-uploader__preview,
      /deep/.van-image,
      /deep/img,
      /deep/.van-uploader__upload,
      /deep/input {
        width: 100%;
        height: 100%;
        margin: 0;
      }

      /deep/.van-uploader__upload,
      .van-uploader__preview {
        background-color: white;

        .van-icon {
          font-size: 39px;
          color: #878999;
        }
      }
    }
  }

  &_btn {
    .van-button {
      width: 100%;
      border-radius: 4px;
      margin-bottom: 16px;
      font-family: Roboto-Medium, Roboto;
    }
  }

  &_submit {
    width: 100%;

    .van-button {
      width: 100%;

      span {
        font-family: Roboto-Medium, Roboto;
      }
    }
  }
}

.moomoo-select {
  padding: 12px;
  background-color: transparent;
  font-family: Roboto-Regular, Roboto;

  .van-cell__title {
    display: flex;
    align-items: center;

    img {
      width: 24px;
      margin-right: 12px;
    }

    span {
      font-size: 16px;
      color: #1A1A1A;
    }
  }

  .van-cell__value,
  .van-icon {
    font-size: 12px;
  }
}

.moomoo-bottom {
  width: 100%;
  height: 72px;

  .moomoo-bottom-submit {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: @white;
    padding: 12px;

    &>div {
      margin-bottom: 24px;
      text-align: center;

      font-family: Roboto-Regular, Roboto;
    }

    .van-button {
      font-family: Roboto-Medium, Roboto;
    }
  }

}

.moomoo-tabs {
  border-radius: 4px;
  font-family: Roboto-Medium, Roboto;

  /deep/.van-tab--active {
    color: #FDC706;
  }

  /deep/.van-tabs__wrap {
    &>div {
      margin: 0;
    }
  }
}

.moomoo-hint {
  padding: 12px;

  font-family: Roboto-Regular, Roboto;

  h1 {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-family: Roboto-Regular, Roboto;
  }

  p {
    color: #878999;
  }
}

/deep/.van-divider {
  margin: 0;
  border-color: #DBDCE0;
}

.daytime {
  background-color: @white;
  color: black;

  /deep/.van-tabs__nav {
    background-color: @white;
  }
}

.darknight {
  background-color: #191B27;
  color: @white;

  /deep/input,
  p,
  span,
  .value {
    color: #fff !important;
  }

  .trade_mod_box {
    /deep/.van-tabs__nav {
      background-color: #191B27;
    }
  }

  /deep/.value {
    color: #fff !important;
  }

  /deep/.place-popup {
    background-color: #191B27 !important;
  }

  /deep/.van-dialog__header {
    background-color: #374055 !important;
    color: #fff !important;
    border-bottom: 1px solid #fff !important;
  }

  /deep/.van-dialog__content {
    background-color: #374055 !important;
    color: #fff !important;
  }

  /deep/.van-dialog {
    background-color: #374055 !important;
    color: #fff !important;
  }

  /deep/.van-stepper {
    background-color: #000000 !important;
    color: #fff !important;
  }

  /deep/.van-stepper__input {
    background-color: #000000 !important;
    color: #fff !important;
  }

  /deep/.van-stepper__minus {
    background-color: #000000 !important;
    color: #fff !important;
    border-right: 1px solid #fff;
  }

  /deep/.van-stepper__plus {
    background-color: #000000 !important;
    color: #fff !important;
    border-left: 1px solid #fff;
  }

  /deep/.place-popup-content-info {
    background-color: #374055 !important;
  }

  /deep/.van-button {
    background-color: #374055;
    border-color: #374055;
    color: #fff !important;
  }

  /deep/.van-tab__text--ellipsis {
    color: #fff;
  }

  /deep/.van-tabs__nav {
    background-color: #191B27 !important;
  }

  /deep/.l-s-popup {
    background-color: #191B27 !important;
  }

  /deep/.van-cell {
    background-color: #374055 !important;
  }

  /deep/.info {
    background-color: #191B27 !important;
  }
}